public class Bomb {
    int x,y;
    int lifeTime=9;
    boolean isLive=true;
    public Bomb(int x, int y) {
        this.x = x;
        this.y = y;
    }
    public int lifeDown(){
        if (lifeTime > 0) {
            lifeTime--;
            return lifeTime;
        }
        else
            isLive=false;
        return lifeTime;
    }
}
